import { CheckOutlined, CloseOutlined, SyncOutlined } from '@ant-design/icons';
import { Tag } from 'antd';

export const parkOrderTag = {
  loading: (
    <Tag color="blue" icon={<SyncOutlined spin />} style={{ marginLeft: 20 }}>
      停车中
    </Tag>
  ),
  success: (
    <Tag color="green" icon={<CheckOutlined />} style={{ marginLeft: 20 }}>
      已完成
    </Tag>
  ),
  error: (
    <Tag color="red" icon={<CloseOutlined />} style={{ marginLeft: 20 }}>
      未完成
    </Tag>
  ),
};
